<?php

	// +----------------------------------------------------------------------
	// | 用户模型验证器
	// +----------------------------------------------------------------------
	// | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.
	// +----------------------------------------------------------------------
	// | Author: 微尘 <yicmf@qq.com>
	// +----------------------------------------------------------------------

	namespace app\validate\ucenter;

	use app\common\validate\Base;

	class Feedback extends Base
	{

		/* 用户模型自动验证 */
		protected $rule = [
			'content|意见内容' => [
				'require',
				'length' => '1,2000',
			],

		];


		protected $message = [
			'content.require' => '请填写建议内容',
			'content.length' => '',
		];

	}
